<?php

/**
 * alumno module configuration.
 *
 * @package    BecArTe
 * @subpackage alumno
 * @author     Your name here
 * @version    SVN: $Id: configuration.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class alumnoGeneratorConfiguration extends BaseAlumnoGeneratorConfiguration
{

    public function getFilterDefaults()
    { 
      $user = sfContext::getInstance()->getUser();
      if($user->hasCredential('atPublico') ) {
        return array(
                 'sede_id' => $user->getSedeId()
        );
      } else {
        return array();
      }
    }

}
